package com.tjetc.factory;

import com.tjetc.simplefactory.Resource;

/**
 * 专门生产 classpath
 */
public class ClassPathResourceLoader implements IResourceLoader{
    @Override
    public Resource load(String path) {
        // 依然省略了 复杂的逻辑......
        return new Resource(path);
    }
}
